<template>
  <div>
    <ul v-for="i in list1" :key="i.name">
      <li>
        <router-link :to="{'path/':i.url}">{{i.name}}</router-link></li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "news",
  data(){
    return{
      list1:JSON.parse(localStorage.getItem('list1'))
    }
  },
  methods:{},
  mounted() {
  }
}
</script>

<style scoped>

</style>
